package com.battle.pojo.param.warCaseStudyUser;

import com.battle.pojo.enums.WarCaseStudyDetailsStatusEnum;
import com.battle.pojo.enums.WarCaseStudyUserTypeEnum;
import jakarta.persistence.Column;
import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.*;


/**
* 【描 述】：
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class CreateWarCaseStudyUserParam {


    /**
     * 战例id
     */
    @Column(nullable = false)
    private Long caseId;

    /**
     * 研讨id
     */
    @Column(nullable = false)
    private Long studyId;

    /**
     * 发起人id
     */
    @Column(nullable = false)
    private Long initiatorId;

    /**
     * 用户id
     */
    @Column(nullable = false)
    private Long userId;

    /**
     * 状态：0待处理 1已通过 2已拒绝
     */
    @Column()
    private WarCaseStudyDetailsStatusEnum status;

    /**
     * 处理时间
     */
    @Column()
    private LocalDateTime waitTime;

    /**
     * 报名记录类型： 0自己报名 1被邀请
     */
    @Column()
    private WarCaseStudyUserTypeEnum type;

}